package com.xqboss.apps.vo.consumer;

import com.xqboss.apps.enums.consumer.ConsumerTeamMemberTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 队伍家庭成员
 *
 * @author lujiahong
 * @date 2023-12-21
 */
@Data
@ApiModel("队伍成员家庭基本信息")
public class ConsumerTeamMemberFamilyVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("父id（家庭）")
    private Long parentId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("队伍角色（1_管理员（队长） 2_普通成员）")
    private Integer role;

    @ApiModelProperty("成员类型（1_主成员 2_爸爸 3_妈妈 4_配偶）")
    private ConsumerTeamMemberTypeEnum type;

    @ApiModelProperty("是否当日退出队伍（true-是）")
    private Boolean isExitTeam;

    @ApiModelProperty("家庭成员（2_爸爸 3_妈妈 4_配偶）")
    private List<ConsumerTeamMemberFamilyVo> familyMembers;
}



